/*
 * @Author: 0x9DEFA478
 * @Date: 2024-01-15 19:57:17
 * @LastEditTime: 2025-08-31 18:58:41
 * @LastEditors: 0x9DEFA478
 * @Description: 
 * 
 */
#ifndef hH_Type_HPP_
#define hH_Type_HPP_
#include "H_Type.h"




namespace H{

  using int8=Hint8;
  using byte=Hbyte;
  using int16=Hint16;
  using uint16=Huint16;
  using int32=Hint32;
  using uint32=Huint32;
  using int64=Hint64;
  using uint64=Huint64;
  using size=Hsize;
  using usize=Husize;
  using intptr=Hintptr;
  using uintptr=Huintptr;
  using functionptr=Hfunctionptr;

  constexpr usize IncreaseAlignTo(usize Size,usize AlignSize)noexcept{return ((Size+AlignSize-1)/AlignSize)*AlignSize;}
  constexpr usize Max(usize a,usize b){return a>b?a:b;}
  constexpr usize Min(usize a,usize b){return a<b?a:b;}

}




#endif //hH_Type_HPP_
